<?php /* Smarty version 2.6.25, created on 2009-06-16 12:35:58
         compiled from rightmenu.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'rightmenu.tpl', 27, false),array('modifier', 'truncate', 'rightmenu.tpl', 37, false),array('function', 'mailto', 'rightmenu.tpl', 79, false),)), $this); ?>
<div class="right">
	<h3>Menu:</h3>
			<div class="right_articles">
			
			<ul>
				<li><a href="http://pcunited.info/rss.xml">RSS</a></li>
				<li><a href="http://oc-community.org" title="Forum o podkręcaniu i nie tylko">FORUM - OC-Community.org</a></li>
				<li></li>
			<?php if ($this->_tpl_vars['zalogowany'] == 'tak'): ?>
				<li><a href="?do=panel_uzytkownika" accesskey="u">Panel uzytkownika</a></li>
				<li><a href="?do=administracja" accesskey="a">Administracja</a></li>
				<?php endif; ?>
<a href="?ctrl=admin">Panel Admina</a><br />
			</ul>

			</div>
			
			
			<h3>Kategorie:</h3>
			<div class="right_articles">
			<?php $_from = $this->_tpl_vars['katdzial']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['nazwa_dzialu'] => $this->_tpl_vars['dane_dzialu']):
?>
			<hr />
			<span style="font-weight: bold; color: red;"> <?php echo $this->_tpl_vars['nazwa_dzialu']; ?>
 </span>
			<hr />
			<ul>
				<?php $_from = $this->_tpl_vars['dane_dzialu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['nr'] => $this->_tpl_vars['dane_kat']):
?>
				<li><a href="http://pcunited.info/<?php echo $this->_tpl_vars['dane_kat']['id_kategoria']; ?>
-kategoria-<?php echo ((is_array($_tmp=$this->_tpl_vars['dane_kat']['nazwa'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
.html" title="<?php echo $this->_tpl_vars['dane_kat']['opis']; ?>
"><?php echo $this->_tpl_vars['dane_kat']['nazwa']; ?>
</a></li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
			<?php endforeach; endif; unset($_from); ?>
			</div>
			
			<h3>TOP 5 - dzisiaj</h3>
			<div class="right_articles">
			<ul>
			<?php $_from = $this->_tpl_vars['newsytop5d']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['nr'] => $this->_tpl_vars['dane']):
?>
			<li><?php echo $this->_tpl_vars['nr']+1; ?>
. <a href="http://www.pcunited.info/czytaj-<?php echo $this->_tpl_vars['dane']['id_news']; ?>
.html" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['dane']['tytul'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['dane']['tytul'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)); ?>
</a>
						</li>
			<?php endforeach; endif; unset($_from); ?>
			</ul>
			</div>
			
			<h3>TOP 5 - wczoraj</h3>
			<div class="right_articles">
			<ul>
			<?php $_from = $this->_tpl_vars['newsytop5w']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['nr'] => $this->_tpl_vars['dane']):
?>
			<li><?php echo $this->_tpl_vars['nr']+1; ?>
. <a href="http://www.pcunited.info/czytaj-<?php echo $this->_tpl_vars['dane']['id_news']; ?>
.html" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['dane']['tytul'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['dane']['tytul'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 40) : smarty_modifier_truncate($_tmp, 40)); ?>
</a>
						</li>
			<?php endforeach; endif; unset($_from); ?>
			</ul>
			</div>
			
			
			
			<h3>Serwisy:</h3>
			<div class="right_articles">
			<ul>
			<?php $_from = $this->_tpl_vars['serw']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['nr'] => $this->_tpl_vars['dane']):
?>
			<?php if ($this->_tpl_vars['dane']['aktywny'] == 1): ?>
				<li><a href="http://www.pcunited.info/<?php echo $this->_tpl_vars['dane']['id_serwis']; ?>
-serwis-<?php echo ((is_array($_tmp=$this->_tpl_vars['dane']['nazwa'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
.html"><?php echo $this->_tpl_vars['dane']['nazwa']; ?>
</a></li>
			<?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
			</ul>
			</div>
			
			<h3>Komunikaty:</h3>
			<div class="right_articles">
				<?php echo $this->_tpl_vars['komunikat_glowny']; ?>

			</div>
			
			<h3>Przyjaciele: </h3>
			<div class="right_articles">
				<?php echo $this->_tpl_vars['przyjaciele']; ?>

			</div>
			
			<div class="notice">
				<p>Wszelkie uwagi i propozycje proszę przesyłać na adres: <?php echo smarty_function_mailto(array('address' => "kontakt@pcunited.info",'encode' => 'javascript'), $this);?>
</p>
			</div>
		</div>	